package com.mini.repository;

import com.mini.model.BusinessWechatOperateRecord;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author shixiaopeng on 2020/12/14
 */
@Repository
public interface BusinessWechatOperateRecordRepository extends JpaRepository<BusinessWechatOperateRecord, Long> {

    List<BusinessWechatOperateRecord> findAllByWechatNoOrderByCreateTimeDesc(String wechatNo);
}
